package blog.caidabao;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;

public class testio {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos=new FileOutputStream("fos.text");
        fos.write('b');
        fos.flush();
        fos.write('c');
        fos.close();

        System.out.println(new File("fos.text").getAbsolutePath());

    }
}
